package com.demo.yin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 登陆
 * @author yinbenyang
 * @date 2017年10月24日下午12:36:00
 */
@Controller
@RequestMapping("login")
public class LoginController {

	@RequestMapping()
	public String toLogin(){
		return "login";
	}
	
	@RequestMapping(value = "/login")
	public String login(){
		return "index2";
	}
}
